package com.unience.ec2.eclipse.model;

import com.xerox.amazonws.ec2.GroupDescription;
import com.xerox.amazonws.ec2.ImageDescription;

public class Ec2Image extends Model {

	private ImageDescription imageDescription;
	
	public Ec2Image(ImageDescription imageDescription, String title, String authorGivenName, String authorSirName) {
		super(imageDescription.getImageId());
		this.imageDescription = imageDescription;
	}
	
	@Override
	public void accept(IModelVisitor visitor, Object passAlongArgument) {
		visitor.visitEc2Image(this, passAlongArgument);

	}

	public ImageDescription getImageDescription() {
		return imageDescription;
	}

	public void setImageDescription(ImageDescription imageDescription) {
		this.imageDescription = imageDescription;
	}

}
